Do we have an API to get services by multiple IDs?

Wondering if we have a way get services by multiple IDs. Seems like query only works for filtering by name.

Hi Dayakar,

Are you referring to our List services endpoint? This would be the best endpoint for returning multiple services and you are correct on how the query parameter works. If your account has the Teams feature, you can also filter on team IDs.

If the above doesn’t meet your use case, I’d be happy to hear more about what you’re attempting and pass along your feedback to our product team.

Cassie Champagne
Technical Support Specialist
PagerDuty Support

Thanks for the response and is it possible that I could query by multiple service IDs ?

Hi there,

If you’re looking to retrieve services, there isn’t a way to query/filter by passing in multiple service IDs. The List services endpoint allows you to filter by Team IDs or search for a string in the service name using the query parameter.

You could also make multiple calls to the Get a service endpoint, passing in one service ID for each request if necessary.

Cassie Champagne
Technical Support Specialist
PagerDuty Support